package com.punai.Incomedata.vo;

import com.punai.prodatalibrary.domain.bo.GlobalProInfoBo;

import java.math.BigDecimal;
import java.util.Date;

public class IProLibIncomeBaseVo {
    private String bidnodeOid;
    private String tabType;
    private String ccbType;
    private String type;
    private String proId;
    private String infoId;
    private String proCode;
    private String proName;
    private String constructionUnit;//建设单位
    private String projectLeader;//项目负责人
    private BigDecimal projectAmount;//项目金额
    private Date projectStartDate;//项目开始时间
    private Date projectStartEnd;//项目结束时间
    private String projectState;//项目状态
    private String projectDept;//项目所属部门


    public static IProLibIncomeBaseVo convert(GlobalProInfoBo globalProInfoBo){
        IProLibIncomeBaseVo vo = new IProLibIncomeBaseVo();
        vo.setType(globalProInfoBo.getType());
        vo.setProId(globalProInfoBo.getProId());
        vo.setProCode(globalProInfoBo.getProjectCode());
        vo.setProName(globalProInfoBo.getProjectName());
        vo.setConstructionUnit(globalProInfoBo.getConstructionUnit());
        vo.setProjectLeader(globalProInfoBo.getProjectLeader());
        vo.setProjectAmount(globalProInfoBo.getProjectAmount());
        vo.setProjectStartDate(globalProInfoBo.getProjectStartDate());
        vo.setProjectStartEnd(globalProInfoBo.getProjectEndDate());
        vo.setProjectState(globalProInfoBo.getProjectState());
        vo.setProjectDept(globalProInfoBo.getProjectDept());
        vo.setInfoId(globalProInfoBo.getInfoId());
        return vo;
    }

    public String getBidnodeOid() {
        return bidnodeOid;
    }

    public void setBidnodeOid(String bidnodeOid) {
        this.bidnodeOid = bidnodeOid;
    }

    public String getTabType() {
        return tabType;
    }

    public void setTabType(String tabType) {
        this.tabType = tabType;
    }

    public String getProId() {
        return proId;
    }

    public void setProId(String proId) {
        this.proId = proId;
    }

    public String getProCode() {
        return proCode;
    }

    public void setProCode(String proCode) {
        this.proCode = proCode;
    }

    public String getProName() {
        return proName;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }

    public String getConstructionUnit() {
        return constructionUnit;
    }

    public void setConstructionUnit(String constructionUnit) {
        this.constructionUnit = constructionUnit;
    }

    public String getProjectLeader() {
        return projectLeader;
    }

    public void setProjectLeader(String projectLeader) {
        this.projectLeader = projectLeader;
    }

    public BigDecimal getProjectAmount() {
        return projectAmount;
    }

    public void setProjectAmount(BigDecimal projectAmount) {
        this.projectAmount = projectAmount;
    }

    public Date getProjectStartDate() {
        return projectStartDate;
    }

    public void setProjectStartDate(Date projectStartDate) {
        this.projectStartDate = projectStartDate;
    }

    public Date getProjectStartEnd() {
        return projectStartEnd;
    }

    public void setProjectStartEnd(Date projectStartEnd) {
        this.projectStartEnd = projectStartEnd;
    }

    public String getProjectState() {
        return projectState;
    }

    public void setProjectState(String projectState) {
        this.projectState = projectState;
    }

    public String getProjectDept() {
        return projectDept;
    }

    public void setProjectDept(String projectDept) {
        this.projectDept = projectDept;
    }

    public String getType() {
        return type;
    }
    public void setType(String type) {
        this.type = type;
    }

    public String getCcbType() {
        return ccbType;
    }

    public void setCcbType(String ccbType) {
        this.ccbType = ccbType;
    }

    public String getInfoId() {
        return infoId;
    }

    public void setInfoId(String infoId) {
        this.infoId = infoId;
    }
}
